<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>审批控制管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
            top.$.jBox.tip.mess=0;
		});
	</script>
    <style>
        .form-search .ul-form li label{
            width: auto;
            font-size: 16px!important;
        }
        .form-search .ul-form li .ul-label{
            width: 380px;
            font-size: 14px!important;
        }
    </style>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="javascript:void(0);">审批控制</a></li>
	</ul>
    <sys:message content="${message}"/>
	<form:form id="searchForm" action="${ctx}/sys/sysMenuSwitch/save" method="post" class="breadcrumb form-search">
		<ul class="ul-form">
            <c:forEach items="${page.list}" var="sysMenuSwitch" varStatus="status">
                <li>
                        <input type="hidden" name="sysMenuSwitchs[${status.index}].id" value="${sysMenuSwitch.id}">
                        <label class="ul-label">${sysMenuSwitch.name}：</label>

                        <c:forEach items="${fns:getDictList('switch')}" var="item">
                            <label><input type="radio" ${item.value == sysMenuSwitch.delFlag?"checked":""}
                                          name="sysMenuSwitchs[${status.index}].delFlag" value="${item.value}">${item.label}</label>
                        </c:forEach>
                        <br>
                </li>
                <li class="clearfix"></li>
            </c:forEach>
            <li class="btns"><input id="btnSubmit" style="margin-left: 480px;" class="btn btn-primary" type="submit" value="保存"/></li>
            <li class="clearfix"></li>
		</ul>
	</form:form>
</body>
</html>